<template>
  <div class="home">
    <button @click="handler">改变</button>
    <h1>这是home页面</h1>
    <h3>{{msg}}</h3>
  </div>
</template>

<script>
export default {

  data() {
    return {
      msg:"hello world",
      msg2:"今天真热"
    }
  },
  methods: {
    handler(){
      this.msg="vuevuevue"
    }
  },
 
}
</script>
<style lang="scss">

  .home{
    button{

    }

  }
</style>



